package com.zbkj.crmeb.order.request;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class JkyItemSynRequest {

    @ApiModelProperty(name = "method")
    private String method;

    @ApiModelProperty(name = "format")
    private String format;

    @ApiModelProperty(name = "content")
    private Content content;

    @ApiModelProperty(name = "timestamp")
    private String timestamp;

    @ApiModelProperty(name = "customerid")
    private String customerid;

    @ApiModelProperty(name = "sign")
    private String sign;


    @Data
    public static class Content {

        private String actionType;

        private String warehouseCode;

        private String ownerCode;

        private Item item;

    }

    @Data
    public static class Item {

        private String isAreaSale;

        private String itemCode;

        private String itemName;

        private String englishName;

        private String barCode;

        private String skuProperty;

        private String  skuSpecName;

        private String stockUnit;

        private String brandName;

    }

}
